$def with()

$var title: $_('SIP Restarting')
$var page: restart

<script>
    function changePage() {

        // A small trick in order to be sure that SIP has been restarted and is answering our requests
        var interval = setInterval(function () {
            jQuery.get('/', function () {
                window.location.href = "/";
                clearInterval(interval);
            });
        }, 2000);
    }

    jQuery(document).ready(function () {
        changePage()
    });
</script>

<div id="restarting">
    <div class="title">$_('SIP is restarting')</div>
    $_('This may take several seconds...')
</div>
